﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using V = Science.Mathematics.VectorCalculus;

namespace VectorCalculus5Ed.Chapter1.Section3
{
    public class Example01
    {
        public Example01()
		{
		}
		private string result;
		public string Result
		{
			get{return result;}
		}
		public void Compute()
		{
  /*        V.Matrix2by2 A = new V.Matrix2by2();

            A.A11 = 1.0;
            A.A12 = 2.0;
            A.A21 = 3.0;
            A.A22 = 4.0;  */

            double[,] a = { {1.0, 2.0 }, {3.0, 4.0 } };
            V.MatrixSquare A = new V.MatrixSquare(a);

            result += A.Determinant.ToString() + "   ";
        }
    }
}

// -2